package javaspi;

/**
 * @Author lijian.wu
 * @Date 2021/5/9 9:36 下午
 */
public class ShyWlj implements Wlj{

    @Override
    public void say() {
        System.out.println("sunshine wulijian");
    }
}

//public class Weapon$Adaptive implements org.apache.dubbo.demo.spi.Weapon {
//
//    public java.lang.String name(org.apache.dubbo.common.URL arg0)  {
//        if (arg0 == null) throw new IllegalArgumentException("url == null");
//        org.apache.dubbo.common.URL url = arg0;
//        String extName = url.getParameter("weapon");
//        if(extName == null) throw new IllegalStateException("Failed to get extension "
//                + "(org.apache.dubbo.demo.spi.Weapon) name from url (" + url.toString() + ") use keys([weapon])");
//        org.apache.dubbo.demo.spi.Weapon extension = (org.apache.dubbo.demo.spi.Weapon)
//                ExtensionLoader.getExtensionLoader(org.apache.dubbo.demo.spi.Weapon.class).getExtension(extName);
//        return extension.name(arg0);
//    }
//}